package net.dgg.zz.api.credential.mapper;

import net.dgg.zz.api.credential.entity.CertificateProductConfiguration;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface CertificateProductConfigurationMapper {
 int insert(CertificateProductConfiguration certificateProductConfiguration);
 List<CertificateProductConfiguration> selectAll(Map<String,Object> map);
 int deleteByPrimaryKey(Long id);
 Integer count();
 CertificateProductConfiguration getCertificateMatchingById(Long id);

 void updateCertificateMatching(CertificateProductConfiguration certificateProductConfiguration);

 CertificateProductConfiguration selectByProductId(Long productId);

 CertificateProductConfiguration selectQyByProductId(Long productId);
}
